package com.example.ruralservicedigitalplatform.mapper;

import com.example.ruralservicedigitalplatform.domain.po.AddressBook;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AddressBookMapper {
    /**
     * 根据addressId查询地址
     * @param addressId
     * @return
     */
    @Select("select * from address_book where address_id=#{addressId}")
    AddressBook selectById(Long addressId);
}
